package com.baseframe.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baseframe.system.entity.BaseRole;
import com.baseframe.system.entity.vo.BaseRoleVO;
import com.baseframe.system.mapper.BaseRoleMapper;
import com.baseframe.system.service.BaseRoleService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**

* @description 针对表【base_role(角色表)】的数据库操作Service实现
* @createDate 2023-05-20 19:25:46
*/
@Service
@AllArgsConstructor
public class BaseRoleServiceImpl extends ServiceImpl<BaseRoleMapper, BaseRole>
    implements BaseRoleService{

    @Override
    public BaseRoleVO findRoleIdByRoleName(String roleName) {
        return getBaseMapper().findRoleIdByRoleName(roleName);
    }
}




